package com.cn.lyl.dao;

import com.cn.lyl.model.LawyerModel;
import com.cn.lyl.model.UserModel;

import java.util.List;

public interface LawyerDao {

    int add(LawyerModel lawyerModel);

    int update(LawyerModel lawyerModel);

    int delete(LawyerModel lawyerModel);

    LawyerModel findById(int id);

    LawyerModel findNewest();

    List<LawyerModel> findAll(LawyerModel lawyerModel);

    int countFindAll(LawyerModel lawyerModel);

    int updateIsHome(LawyerModel lawyerModel);


    
}
